import Cookie from 'js-cookie'

export const TokenKey = 'zhmdSMP-Token';

export function getToken() {
  return Cookie.get(TokenKey);
}

export function setToken(token) {
  return Cookie.set(TokenKey, token, { expires: 6000 });
}

export function removeToken() {
  return Cookie.remove(TokenKey);
}
